"""
预约管理页面
"""

from flask import render_template, request, jsonify
from flask_jwt_extended import jwt_required, get_jwt_identity
from app import db
from app.models import Appointment, User, Department
from app.web import web_bp

@web_bp.route('/appointments')
@jwt_required()
def appointments():
    """预约管理页面"""
    return render_template('appointments.html')

@web_bp.route('/appointments/create')
@jwt_required()
def create_appointment():
    """创建预约页面"""
    return render_template('appointment_create.html')
